import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';

// 在入口文件中引入antd css 
import 'antd/dist/antd.min.css'; // or 'antd/dist/antd.less'

// 引入路由模式组件(HashRouter 或 BrowserHistory) 
import { BrowserRouter as Router } from 'react-router-dom';


const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
    <Router>
        <App />
    </Router>
);

